package com.holyn.guofang.model.webhttp.wo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Holyn on 2017/7/11.
 */

public class DeviceWo implements Serializable {
    private static final long serialVersionUID = 11112222L;

    /**
     * status : 1
     * count : 2
     * data : [{"id":123,"equipmentCode":"abcde","isMainEquimment":false,"isAuthorize":true,"remark":"A设 备"},{"id":343,"equipmentCode":"ghij","isMainEquimment":false,"isAuthorize":false,"remark":""}]
     */

    private int status;
    private int count;
    private List<DataBean> data;
    private String err;

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 123
         * equipmentCode : abcde
         * isMainEquimment : false
         * isAuthorize : true
         * remark : A设 备
         */

        private int id;
        private String equipmentCode;
        private boolean isMainEquimment;
        private boolean isAuthorize;
        private String remark;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getEquipmentCode() {
            return equipmentCode;
        }

        public void setEquipmentCode(String equipmentCode) {
            this.equipmentCode = equipmentCode;
        }

        public boolean isIsMainEquimment() {
            return isMainEquimment;
        }

        public void setIsMainEquimment(boolean isMainEquimment) {
            this.isMainEquimment = isMainEquimment;
        }

        public boolean isIsAuthorize() {
            return isAuthorize;
        }

        public void setIsAuthorize(boolean isAuthorize) {
            this.isAuthorize = isAuthorize;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }
    }
}
